package controller

import (
	_ "gitee.com/dayu1985/can_api/controller/sys"
	_ "gitee.com/dayu1985/can_api/controller/business"
	"gitee.com/dayu1985/framework/app"
	"gitee.com/dayu1985/framework/service/mgo"
	"gitee.com/dayu1985/can_api/service/base"
)

func init() {
	app.AfterInitConfig(func() {
		mgo.InitMongo(new(base.Mongo))
	})
}
